<?php

namespace App\Service;

use App\Model\ActionLog;

class LogService extends BaseService
{
    public static $instance = null;

    public static function getInstance()
    {
        if (self::$instance == null) {
            self::$instance = new self();
        }
        return self::$instance;
    }

    public function addActionLog($action, $botId, $steamId, $errorMsg)
    {
        return ActionLog::addLog($action, $botId, $steamId, $errorMsg);
    }
}